package com.clei.dto.db;

/**
 * 子表信息
 *
 * @author Y
 * @date 2024-01-09
 **/
public class ChildTableInfo {

    /**
     * 表名
     */
    private final String tableName;

    /**
     * 超表名
     */
    private final String sTableName;

    /**
     * 建表sql
     */
    private String createSql;

    public ChildTableInfo(String tableName, String sTableName) {
        this.tableName = tableName;
        this.sTableName = sTableName;
    }

    public ChildTableInfo(String tableName, String sTableName, String createSql) {
        this(tableName, sTableName);
        this.createSql = createSql;
    }

    public String getTableName() {
        return tableName;
    }

    public String getsTableName() {
        return sTableName;
    }

    public String getCreateSql() {
        return createSql;
    }

    public void setCreateSql(String createSql) {
        this.createSql = createSql;
    }
}
